package io.jpress.permission;

import io.jboot.utils.AnnotationUtil;

/**
 * @author michael yang (fuhai999@gmail.com)
 */


public class PermissionGroupBean {

    private String id;
    private String name;
    private String description;
    private int type;
    private int sortNo;

    public PermissionGroupBean() {
    }

    public PermissionGroupBean(String id, String name, String description, int type, int sortNo) {
        this.id = AnnotationUtil.get(id);
        this.name = name;
        this.description = description;
        this.type = type;
        this.sortNo = sortNo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }
}
